#include <iostream>
using namespace std;
bool check() {
  int i = 0x00000001;
  return (*(char*)(&i)) == 0;
}
int main() {
  int data = 0x12345678;
  if (check())
    // 00 00 00 01
    cout << "该主机采用大端模式" << endl;
  else
    // 01 00 00 00
    cout << "该主机采用小端模式" << endl;
  return 0;
}